package com.zbdx.medicalzb.mapper;

import com.zbdx.medicalzb.domain.Sale;
import com.zbdx.medicalzb.entity.SaleEntity;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author 涛某
 * @version 1.0
 * @date 2023/9/1 13:29
 */
@Repository
public interface SaleMapper{
    List<Sale> getAllSale(String name);


    int updateSaleById(Sale sale);

    int saveSale(SaleEntity se);

    int deleteSaleById(Integer id);
}
